package org.yefei.homeworkday15.six;

public class DrawProgram {
	private String name;

	public DrawProgram(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void cal(Graphics g) {
		g.calPerimeter();
		g.calArea();
	}
}
